﻿<!DOCTYPE html>
<html lang="en">

	<head>
		<meta charset="utf-8">
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=1">
		<title>Data Tables</title>
		<link rel="shortcut icon" type="image/x-icon" href="Vertical/favicon.ico">
		<!-- google font -->
		<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,500,600,700" rel="stylesheet" type="text/css" />
		<link href="assets/css/bootstrap.min.css" rel="stylesheet" type="text/css">
		<link href="assets/css/font-awesome.min.css" rel="stylesheet" type="text/css">
		<link href="assets/css/ionicons.css" rel="stylesheet" type="text/css">
		<link href="assets/css/simple-line-icons.css" rel="stylesheet" type="text/css">
		<link href="assets/css/jquery.mCustomScrollbar.css" rel="stylesheet">

		<!--bs4 data table-->
		<link href="assets/css/dataTables.bootstrap4.min.css" rel="stylesheet">
		<link href="assets/css/style.css" rel="stylesheet">
		<link href="assets/css/responsive.css" rel="stylesheet">
	</head>

	<body>
		<div class="wrapper">
			<!-- header -->
			<header class="main-header">
				<div class="container_header">
					<div class="logo d-flex align-items-center">
						<a href="#"> <strong class="logo_icon"> <img src="assets/images/small-logo.png" alt=""> </strong> <span class="logo-default"> <img src="assets/images/logo2.png" alt=""> </span> </a>
						<div class="icon_menu full_menu">
							<a href="#" class="menu-toggler sidebar-toggler"></a>
						</div>
					</div>
					<div class="right_detail">
						<div class="row d-flex align-items-center min-h pos-md-r">
							<div class="col-xl-5 col-3 search_col ">
								<div class="top_function">

									<div class="search">
										<a id="toggle_res_search" data-toggle="collapse" data-target="#search_form" class="res-only-view collapsed" href="javascript:void(0);"
										aria-expanded="false"> <i class=" icon-magnifier"></i> </a>
										<form id="search_form" role="search" class="search-form collapse" action="#">
											<div class="input-group">
												<input type="text" class="form-control" placeholder="Search...">
												<button type="button" class="btn" data-target="#search_form" data-toggle="collapse" aria-label="Close">
													<i class="ion-android-search"></i>
												</button>
											</div>
										</form>
									</div>
								</div>
							</div>
							<div class="col-xl-7 col-9 d-flex justify-content-end">
								<div class="right_bar_top d-flex align-items-center">

									<!-- notification_Start -->
									<div class="dropdown dropdown-notification">
										<a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true" aria-expanded="false"> <i class="fa fa-bell-o"></i> <span class="badge_coun"> 6 </span> </a>
										<ul class="dropdown-menu scroll_auto height_fixed" aria-labelledby="dropdownMenu1">
											<li class="bigger">
												<h3><span class="bold">Notifications</span></h3>
												<span class="notification-label">New 6</span>
											</li>
											<li>
												<ul class="dropdown-menu-list">
													<li>
														<a href="javascript:;"> <span class="time">just now</span> <span class="details"> <span class="notification-icon deepPink-bgcolor"> <i class="fa fa-check"></i> </span> Congratulations!. </span> </a>
													</li>
													<li>
														<a href="javascript:;"> <span class="time">3 mins</span> <span class="details"> <span class="notification-icon purple-bgcolor"> <i class="fa fa-user o"></i> </span> <b>John Micle </b>is now following you. </span> </a>
													</li>
													<li>
														<a href="javascript:;"> <span class="time">7 mins</span> <span class="details"> <span class="notification-icon blue-bgcolor"> <i class="fa fa-comments-o"></i> </span> <b>Sneha Jogi </b>sent you a message. </span> </a>
													</li>
													<li>
														<a href="javascript:;"> <span class="time">12 mins</span> <span class="details"> <span class="notification-icon pink"> <i class="fa fa-heart"></i> </span> <b>Ravi Patel </b>like your photo. </span> </a>
													</li>
													<li>
														<a href="javascript:;"> <span class="time">15 mins</span> <span class="details"> <span class="notification-icon yellow"> <i class="fa fa-warning"></i> </span> Warning! </span> </a>
													</li>
													<li>
														<a href="javascript:;"> <span class="time">10 hrs</span> <span class="details"> <span class="notification-icon red"> <i class="fa fa-times"></i> </span> Application error. </span> </a>
													</li>
												</ul>
											</li>
										</ul>
									</div>
									<!-- notification_End -->
									<!-- DropDown_Inbox -->
									<div class="dropdown dropdown-inbox">
										<a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true"> <i class="fa fa-envelope-o"></i> <span class="badge_coun"> 2 </span> </a>
										<ul class="dropdown-menu scroll_auto height_fixed" aria-labelledby="dropdownMenu1">
											<li class="bigger">
												<h3><span class="bold">Messages</span></h3>
												<span class="notification-label">New 2</span>
											</li>
											<li>
												<ul class="dropdown-menu-list">
													<li>
														<a href="#"> <span class="photo"> <img src="assets/images/about-1.jpg" class="img-circle" alt=""> </span> <span class="subject"> <span class="from"> Sarah Smith </span> <span class="time">Just Now </span> </span> <span class="message"> Jatin I found you on LinkedIn... </span> </a>
													</li>
													<li>
														<a href="#"> <span class="photo"> <img src="assets/images/about-1.jpg" class="img-circle" alt=""> </span> <span class="subject"> <span class="from"> Sarah Smith </span> <span class="time">Just Now </span> </span> <span class="message"> Jatin I found you on LinkedIn... </span> </a>
													</li>
													<li>
														<a href="#"> <span class="photo"> <img src="assets/images/about-1.jpg" class="img-circle" alt=""> </span> <span class="subject"> <span class="from"> Sarah Smith </span> <span class="time">Just Now </span> </span> <span class="message"> Jatin I found you on LinkedIn... </span> </a>
													</li>
													<li>
														<a href="#"> <span class="photo"> <img src="assets/images/about-1.jpg" class="img-circle" alt=""> </span> <span class="subject"> <span class="from"> Sarah Smith </span> <span class="time">Just Now </span> </span> <span class="message"> Jatin I found you on LinkedIn... </span> </a>
													</li>
													<li>
														<a href="#"> <span class="photo"> <img src="assets/images/about-1.jpg" class="img-circle" alt=""> </span> <span class="subject"> <span class="from"> Sarah Smith </span> <span class="time">Just Now </span> </span> <span class="message"> Jatin I found you on LinkedIn... </span> </a>
													</li>
													<li>
														<a href="#"> <span class="photo"> <img src="assets/images/about-1.jpg" class="img-circle" alt=""> </span> <span class="subject"> <span class="from"> Sarah Smith </span> <span class="time">Just Now </span> </span> <span class="message"> Jatin I found you on LinkedIn... </span> </a>
													</li>
												</ul>
											</li>
										</ul>
									</div>
									<!--DropDown_Inbox_End -->
									<!-- Dropdown_User -->
									<div class="dropdown dropdown-user">
										<a href="javascript:;" class="dropdown-toggle" data-toggle="dropdown" data-hover="dropdown" data-close-others="true" aria-expanded="true"> <img class="img-circle pro_pic" src="assets/images/about-1.jpg" alt=""> </a>
										<ul class="dropdown-menu dropdown-menu-default">
											<li>
												<a href="#"> <i class="icon-user"></i> Profile </a>
											</li>
											<li>
												<a href="#"> <i class="icon-settings"></i> Settings </a>
											</li>
											<li>
												<a href="#"> <i class="icon-directions"></i> Help </a>
											</li>
											<li class="divider"></li>
											<li>
												<a href="lock_screen.html"> <i class="icon-lock"></i> Lock </a>
											</li>
											<li>
												<a href="#"> <i class="icon-logout"></i> Log Out </a>
											</li>
										</ul>
									</div>
									<!-- Dropdown_User_End -->
								</div>
							</div>
						</div>
					</div>
				</div>

			</header>
			<!-- header_End -->
			<!-- Content_right -->
			<div class="container_full">

				<div class="side_bar scroll_auto">
                <div class="user-panel">
						<div class="user_image">
							<img src="assets/images/about-1.jpg" class="img-circle mCS_img_loaded" alt="User Image">
						</div>
						<div class="info">
							<p>
								Alexander Pierce
							</p>
							<a href="#"> <i class="fa fa-circle text-success"></i> Online</a>
						</div>
					</div>

					<ul id="dc_accordion" class="sidebar-menu tree">
						<li class="menu_sub">
							<a href="#"> <i class="fa fa-home"></i> <span>Dashboard</span> 
							<span class="arrow"></span> </a>
							<ul class="down_menu">
								<li>
									<a href="index.html">Dashboard 1</a>
								</li>
								<li>
									<a href="index1.html">Dashboard 2</a>
								</li>
								<li>
									<a href="index2.html">E-Commerce</a>
								</li>
								<li>
									<a href="index3.html">Analysis</a>
								</li>
								
								<li>
									<a href="index-green.html">Dashboard Green</a>
								</li>
								<li>
									<a href="index-orange.html">Dashboard Orange</a>
								</li>
								<li>
									<a href="index-purple.html">Dashboard Purple</a>
								</li>
								<li>
									<a href="index-red.html">Dashboard Red</a>
								</li>
								</ul>
						</li>
						<li class="menu_sub">
							<a href="#"> <i class="fa fa-newspaper-o"></i> <span>UI Elements </span> <span class="arrow"></span> </a>
							<ul class="down_menu">
								<li>
									<a href="alert.html">Alerts</a>
								</li>
								<li>
									<a href="buttons.html">Buttons</a>
								</li>
								<li>
									<a href="cards.html">Cards</a>
								</li>
								<li>
									<a href="dropdown.html">Dropdowns</a>
								</li>
								<li>
									<a href="grid.html">Grids</a>
								</li>
								<li>
									<a href="lists.html">Lists</a>
								</li>
								<li>
									<a href="modal.html">Modals</a>
								</li>
								<li>
									<a href="progress.html"> Progress</a>
								</li>
								<li>
									<a href="popover-tooltips.html">Popover &amp; Tooltips</a>
								</li>
								<li>
									<a href="typography.html">Typography</a>
								</li>
								<li>
									<a href="tabs.html">Tabs</a>
								</li>
								<li>
									<a href="tree.html">Tree</a>
								</li>
								<li>
									<a href="toastr.html">Toastr Notification</a>
								</li>
							</ul>
						</li>
						<li class="menu_sub">
							<a href="#"> <i class="fa fa-pie-chart"></i> <span>Portlets</span> <span class="arrow"></span> </a>
							<ul class="down_menu">
								<li>
									<a href="portlet-base.html">Portlets Base</a>
								</li>
								<li>
									<a href="portlet-advanced.html">Portlets Advanced</a>
								</li>
							</ul>
						</li>
						<li class="menu_sub">
							<a href="#"> <i class="fa fa-laptop"></i> <span>Icons</span> <span class="arrow"></span> </a>
							<ul class="down_menu">
								<li>
									<a href="icon-font-awesome.html">Fontawesome Icons</a>
								</li>
								<li>
									<a href="icon-simple-line.html">Simple line Icons</a>
								</li>
							</ul>
						</li>
						<li class="menu_sub">
							<a href="#"> <i class="fa fa-table"></i> <span>Widgets </span> <span class="arrow"></span> </a>
							<ul class="down_menu">
								<li>
									<a href="widgets-base.html">Widgets Base</a>
								</li>
								<li>
									<a href="widgets-chart.html">Widgets Chart</a>
								</li>
							</ul>
						</li>
						<li class="menu_sub">
							<a href="#"> <i class="fa fa-calendar"></i> <span>Calendar </span> <span class="arrow"></span> </a>
							<ul class="down_menu">
								<li>
									<a href="calendar-basic.html">Basic Calendar</a>
								</li>
								<li>
									<a href="calendar-external-events.html">External Events Calendar</a>
								</li>
								<li>
									<a href="calendar-list.html">List Calendar</a>
								</li>
							</ul>
						</li>
						<li class="menu_sub">
							<a href="#"> <i class="fa fa-wpforms"></i> <span>Forms</span> <span class="arrow"></span> </a>
							<ul class="down_menu">
								<li class="menu_sub">
									<a href="#">Form Control <span class="arrow"></span> </a>
									<ul class="down_menu lavel3">
										<li>
											<a href="form-basic-input.html">Basic Input</a>
										</li>
										<li>
											<a href="form-input-group.html">Input Group</a>
										</li>
										<li>
											<a href="form-checkbox-radio.html">Checkbox & Radio</a>
										</li>
									</ul>
								</li>
								<li class="menu_sub">
									<a href="#">Form Validation <span class="arrow"></span> </a>
									<ul class="down_menu lavel3">
										<li>
											<a href="form-validation-basic.html">Basic Validation</a>
										</li>
										<li>
											<a href="form-validation-jquery.html">jQuery Validation</a>
										</li>
										<li>
											<a href="form-wizard.html">Form Wizard</a>
										</li>
									</ul>
								</li>
							</ul>
						</li>
						<li class="menu_sub">
							<a href="#"> <i class="icon-grid"></i> <span>Data Tables</span> <span class="arrow"></span> </a>
							<ul class="down_menu">
								<li>
									<a href="table-basic.html">Basic Table</a>
								</li>
								<li class="menu_sub">
									<a href="#">Data Tables <span class="arrow"></span> </a>
									<ul class="down_menu">
										<li>
											<a href="table-datatable.html">Basic Datatable</a>
										</li>
										<li>
											<a href="table-datatable-show-hide.html">Toggle Col Datatable</a>
										</li>
										<li>
											<a href="table-datatable-ajax.html">Ajax Datatable</a>
										</li>
									</ul>
								</li>
							</ul>
						</li>
						<li class="menu_sub">
							<a href="#"> <i class="fa fa-bar-chart text-aqua"></i> <span>Charts</span> <span class="arrow"></span> </a>
							<ul class="down_menu">
								<li>
									<a href="flot-chart.html">Flot Charts</a>
								</li>
								<li>
									<a href="echart.html">eCharts</a>
								</li>
								<li>
									<a href="morris-chart.html">Morris Charts</a>
								</li>
							</ul>
						</li>
						<li class="menu_sub">
							<a href="#"> <i class="fa fa-file text-aqua"></i> <span>Extra Pages</span> <span class="arrow"></span> </a>
							<ul class="down_menu">
								<li>
									<a href="profile.html">User Profile</a>
								</li>
								<li>
									<a href="page-login.html">Sign In</a>
								</li>
								<li>
									<a href="page-register.html">Sign Up</a>
								</li>
								<li>
									<a href="invoice.html">Invoice</a>
								</li>
								<li>
									<a href="page_404.html">404</a>
								</li>
							</ul>
						</li>
					</ul>
				</div>

				<!--main contents start-->
				<main class="content_wrapper">
					<!--page title start-->
					<div class="page-heading">
						<div class="container-fluid">
							<div class="row d-flex align-items-center">
								<div class="col-md-6">
									<div class="page-breadcrumb">
										<h1>Data Tables</h1>
									</div>
								</div>
								<div class="col-md-6 justify-content-end d-flex">
									<div class="breadcrumb_nav">
										<ol class="breadcrumb">
											<li>
												<i class="fa fa-home"></i>
												<a class="parent-item" href="index.html">Home</a>
												<i class="fa fa-angle-right"></i>
											</li>
											<li class="active">
												Data Tables
											</li>
										</ol>
									</div>
								</div>
							</div>
						</div>
					</div>
					<!--page title end-->
					<div class="container-fluid">
						<!-- state start-->
						<div class="row">
							<div class=" col-sm-12">

								<div class="card card-shadow mb-4">
									<form class="container" id="needs-validation" novalidate>
										<div class="row" style="margin-top: 15px;margin-left: 1px;">
											<input type="hidden" id="customerId"/>
											<div class="col-md-3 mb-6">
												<label for="customerId">顾客会员号</label>
												<input type="text" class="form-control" id="customerId2" placeholder="请输入想查询的会员号">
											</div>
											<div class="col-md-3 mb-3">
												<label for="customerName">顾客姓名</label>
												<input type="text" class="form-control" id="customerName" placeholder="请输入想查询的顾客姓名">
											</div>
											<div class="col-md-3 mb-6">
												<label for="telephone">顾客手机号</label>
												<input type="text" class="form-control" id="telephone" placeholder="请输入想查询的顾客手机号">
											</div>
											<div class="col-md-3 mb-6">
												<label for="consultant">咨询</label>
												<input type="text" class="form-control" id="consultant" placeholder="请输入想查询的咨询姓名">
											</div>
											<div class="col-md-3 mb-6">
												<label for="marketer">开发人员</label>
												<input type="text" class="form-control" id="marketer" placeholder="请输入想查询的开发人员姓名">
											</div>
											<div class="col-md-3 mb-6">
												<label for="beautyParlour">介绍单位</label>
												<input type="text" class="form-control" id="beautyParlour" placeholder="请输入想查询的介绍单位">
											</div>
											<div class="col-md-3 mb-3">
												<label for="referee">介绍人</label>
												<input type="text" class="form-control" id="referee" placeholder="请输入想查询的介绍人">
											</div>
											<div class="col-md-3 mb-3">
												<label for="doctor">就诊医生</label>
												<input type="text" class="form-control" id="doctor" placeholder="请输入想查询的就诊医生">
											</div>
											<div class="col-md-3 mb-3">
												<label>就诊类型</label>
												<select id = "consultationType" class="form-control form-control-lg">
													<option value = "0">全部</option>
													<option value = "1">初诊</option>
													<option value = "2">复诊</option>
													<option value = "3">复查</option>
													<option value = "4">再消费</option>
												</select>
											</div>
										</div>
										<div class="row" style="margin-top: 5px;margin-left: 10px;">
											<button onclick = "queryRegisterList()" style = "margin-left: 5px" id = "search" type="button" class="btn btn-success">查询</button>
											<button style = "margin-left: 5px" id = "reset" type="reset" class="btn btn-success">重置</button>
											<a href = "registerCustomer.html">
												<button type="button" style = "margin-left: 10px" class="btn btn-success">新增顾客登记信息</button>
											</a>
											
										</div>

									</form>


									<div class="card-body">
										<table id="bs4-table" class="table table-bordered table-striped" cellspacing="0" width="100%">
											<thead>
												<tr>
													<th>会员号</th>
													<th>姓名</th>
													<th>电话</th>
													<th>咨询</th>
													<th>开发人员</th>
													<!-- <th>介绍单位</th>
													<th>介绍人</th>
													<th>医生</th> -->
													<th>就诊类型</th>
													<th>登记时间</th>
													<th>操作</th>
												</tr>
											</thead>
											<tfoot>
												<tr>
													<th>会员号</th>
													<th>姓名</th>
													<th>电话</th>
													<th>咨询</th>
													<th>开发人员</th>
													<!-- <th>介绍单位</th>
													<th>介绍人</th>
													<th>医生</th> -->
													<th>就诊类型</th>
													<th>登记时间</th>
													<th>操作</th>
												</tr>
											</tfoot>
											<tbody id = "container">
											</tbody>
										</table>
									</div>
								</div>
							</div>
						</div>
						<!-- state end-->
					</div>

				</main>
				<!--main contents end-->
			</div>

			<!-- Content_right_End -->
			<!-- Footer -->
			<footer class="footer ptb-20">
				<div class="row">
					<div class="col-md-12 text-center">
						<div class="copy_right">
							<p>
								2018 © Dashboard Theme By
								<a href="http://www.17sucai.com/">Jeparo</a>
							</p>
						</div>
						<a id="back-to-top" href="#"> <i class="ion-android-arrow-up"></i> </a>
					</div>
				</div>
			</footer>
			<!-- Footer_End -->
		</div>
		<script type="text/javascript" src="assets/js/jquery.min.js"></script>
		<script type="text/javascript" src="assets/js/popper.min.js"></script>
		<script type="text/javascript" src="assets/js/bootstrap.min.js"></script>
		<script type="text/javascript" src="assets/js/jquery.mCustomScrollbar.concat.min.js"></script>
		<!--datatables-->
		<script src="assets/js/jquery.dataTables.min.js"></script>
		<script src="assets/js/dataTables.bootstrap4.min.js"></script>
		<script type="text/javascript" src="assets/js/jquery.dcjqaccordion.2.7.js"></script>
		<script src="assets/js/custom.js" type="text/javascript"></script>
		<script>
			var registerList = [];

			$("#reset").on("click", function(){
				//重置所有按钮
				//获取表单中的input对象
				var a = $("#needs-validation input");
				//获取每一个input,并把value属性值设为空
				a.each(function(){
					$(this).val("");
				});
				//获取表单中的的select对象
				var b = $("#needs-validation select");
				//获取每一个select,并设置第一个option的值为默认值
				b.each(function(){
				$(this).get(0).options[0].selected =true;
				});

				queryRegisterList();
			});
			$(document).ready(function(){
				queryRegisterList();
			});
			$("#search").on("click", function(){
				queryRegisterList();
			});

			function queryRegisterList() {
				var customerId = $("#customerId2").val();
				var customerName = $("#customerName").val();
				var customerPinyin = null;
				//判断输入顾客名是汉字还是拼音
				if (/^[\x00-\xff]/.test(customerName)) {
					//拼音
					customerPinyin = customerName;
					customerName = null;
				}
				var telephone = $("#telephone").val();
				var consultant = $("#consultant").val();
				var marketer = $("#marketer").val();
				var beautyParlour = $("#beautyParlour").val();
				var referee = $("#referee").val();
				var doctor = $("#doctor").val();
				var consultationType = $('select#consultationType option:selected').val();

				$.ajax({
					//对应后端requestMapping中的method
					type :"POST",
					//后端地址requestMapping
					url: "http://localhost:8090/register/queryRegisterList",
					//后端方法传入参数
					// data: JSON.stringify({
					data: JSON.stringify({
						"customerId": customerId,
						"customerName": customerName,
						"customerPinyin": customerPinyin,
						"telephone": telephone,
						"consultant": consultant,
						"marketer": marketer,
						"beautyParlour": beautyParlour,
						"referee": referee,
						"doctor": doctor,
						"consultationType": consultationType
					}),
					contentType: "application/json;charset=utf-8",
					//允许跨域请求
					xhrFields: {withCredentials: true},
					//回调：ajax请求成功，后端方法返回的json数据为data
					success: function(data){
						if (data.status == 200) {
							// TODO 列表展示
							registerList = data.data;
                    		reloadDom();
							$('#bs4-table').DataTable({
								retrieve: true,
								"order": [6, "desc"]
							});
						} else{
							alert(data.msg);
						}
					},
					//回调：ajax请求失败
					error: function(data){
						alert("查询失败,ajax请求失败");
					}
				});
				//注意 button 自定义 click 方法后，该方法内应该返回 false，因为使用 ajax 发送请求处理业务，不需要常见的事件冒泡给 form 提交 POST 方法。
			}
			

			function reloadDom() {
				$('#container').empty();
				for (var i = 0; i < registerList.length; i ++) {
					var register = registerList[i];
					var consultationTypeName;
					if (register.consultationType == 1) {
						consultationTypeName = "初诊";
					} else if (register.consultationType == 2) {
						consultationTypeName = "复诊";
					} else if (register.consultationType == 3) {
						consultationTypeName = "复查";
					} else if (register.consultationType == 4){
						consultationTypeName = "再消费";
					} else {
						consultationTypeName = "";
					}
					//<tr data-id = itemVO.id  id = itemDetail+itemVO.id>
					//		<td>itemVO.title</td>
					//		<td><img style = width:100px;height:auto; src = itemVO.imgUrl/></td>
					//		<td>itemVO.description</td>
					//		<td>itemVO.price</td>
					//		<td>itemVO.stock</td>
					//		<td>itemVO.sales</td>
					//</tr>
					var dom = "<tr>" +
						// "<td style ='word-break: break-all; word-wrap:break-word;'>" + itemVO.csvPackage + "</td>" +
						"<td>"+register.customerId+"</td>" +
						"<td>"+register.customerName+"</td>" +
						// "<td style ='word-break: break-all; word-wrap:break-word;'>"+itemVO.csvDescription+"</td>" +
						"<td>"+register.telephone+"</td>" +
						"<td>"+register.consultant+"</td>" +
						"<td>"+register.marketer+"</td>" +
						"<td>"+consultationTypeName+"</td>" +
						"<td>"+register.treatmentTime+"</td>" + 
						"<td>"+"<a href = 'changeRegister.html?registerId="+register.registerId+"'>修改</a>" +
							"   " +
							"<a href = 'registerCustomer.html?registerId="+register.registerId+"'>再登记</a>"+"</td></tr>";
					
						$('#container').append($(dom));
				}
    		}

		</script>
	</body>

</html>
